package cn.itsource.user.mapper;

import cn.itsource.user.domain.User;
import cn.itsource.user.query.UserQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    List<User> selectAll();

    void delete(Integer id);

    void update(User user);

    void add(User user);

    void deleteMore(Long[] ids);

    List <User> queryUser(UserQuery userQuery);
}
